﻿using System;
using System.CodeDom.Compiler;
using System.Diagnostics;
using Google.Protobuf;
using Google.Protobuf.Reflection;

namespace EggLink.DanhengServer.Proto
{
	// Token: 0x020003CD RID: 973
	[DebuggerDisplay("{ToString(),nq}")]
	public sealed class DifficultyAdjustmentUpdateDataCsReq : IMessage<DifficultyAdjustmentUpdateDataCsReq>, IMessage, IEquatable<DifficultyAdjustmentUpdateDataCsReq>, IDeepCloneable<DifficultyAdjustmentUpdateDataCsReq>, IBufferMessage
	{
		// Token: 0x17000C6B RID: 3179
		// (get) Token: 0x06002B60 RID: 11104 RVA: 0x000779B9 File Offset: 0x00075BB9
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageParser<DifficultyAdjustmentUpdateDataCsReq> Parser
		{
			get
			{
				return DifficultyAdjustmentUpdateDataCsReq._parser;
			}
		}

		// Token: 0x17000C6C RID: 3180
		// (get) Token: 0x06002B61 RID: 11105 RVA: 0x000779C0 File Offset: 0x00075BC0
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageDescriptor Descriptor
		{
			get
			{
				return DifficultyAdjustmentUpdateDataCsReqReflection.Descriptor.MessageTypes[0];
			}
		}

		// Token: 0x17000C6D RID: 3181
		// (get) Token: 0x06002B62 RID: 11106 RVA: 0x000779D2 File Offset: 0x00075BD2
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		MessageDescriptor IMessage.Descriptor
		{
			get
			{
				return DifficultyAdjustmentUpdateDataCsReq.Descriptor;
			}
		}

		// Token: 0x06002B63 RID: 11107 RVA: 0x000779D9 File Offset: 0x00075BD9
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public DifficultyAdjustmentUpdateDataCsReq()
		{
		}

		// Token: 0x06002B64 RID: 11108 RVA: 0x000779E1 File Offset: 0x00075BE1
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public DifficultyAdjustmentUpdateDataCsReq(DifficultyAdjustmentUpdateDataCsReq other) : this()
		{
			this.data_ = ((other.data_ != null) ? other.data_.Clone() : null);
			this._unknownFields = UnknownFieldSet.Clone(other._unknownFields);
		}

		// Token: 0x06002B65 RID: 11109 RVA: 0x00077A16 File Offset: 0x00075C16
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public DifficultyAdjustmentUpdateDataCsReq Clone()
		{
			return new DifficultyAdjustmentUpdateDataCsReq(this);
		}

		// Token: 0x17000C6E RID: 3182
		// (get) Token: 0x06002B66 RID: 11110 RVA: 0x00077A1E File Offset: 0x00075C1E
		// (set) Token: 0x06002B67 RID: 11111 RVA: 0x00077A26 File Offset: 0x00075C26
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public JLLIFGDBMIO Data
		{
			get
			{
				return this.data_;
			}
			set
			{
				this.data_ = value;
			}
		}

		// Token: 0x06002B68 RID: 11112 RVA: 0x00077A2F File Offset: 0x00075C2F
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override bool Equals(object other)
		{
			return this.Equals(other as DifficultyAdjustmentUpdateDataCsReq);
		}

		// Token: 0x06002B69 RID: 11113 RVA: 0x00077A3D File Offset: 0x00075C3D
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public bool Equals(DifficultyAdjustmentUpdateDataCsReq other)
		{
			return other != null && (other == this || (object.Equals(this.Data, other.Data) && object.Equals(this._unknownFields, other._unknownFields)));
		}

		// Token: 0x06002B6A RID: 11114 RVA: 0x00077A70 File Offset: 0x00075C70
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override int GetHashCode()
		{
			int num = 1;
			if (this.data_ != null)
			{
				num ^= this.Data.GetHashCode();
			}
			if (this._unknownFields != null)
			{
				num ^= this._unknownFields.GetHashCode();
			}
			return num;
		}

		// Token: 0x06002B6B RID: 11115 RVA: 0x00077AAC File Offset: 0x00075CAC
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override string ToString()
		{
			return JsonFormatter.ToDiagnosticString(this);
		}

		// Token: 0x06002B6C RID: 11116 RVA: 0x00077AB4 File Offset: 0x00075CB4
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void WriteTo(CodedOutputStream output)
		{
			output.WriteRawMessage(this);
		}

		// Token: 0x06002B6D RID: 11117 RVA: 0x00077ABD File Offset: 0x00075CBD
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalWriteTo(ref WriteContext output)
		{
			if (this.data_ != null)
			{
				output.WriteRawTag(106);
				output.WriteMessage(this.Data);
			}
			if (this._unknownFields != null)
			{
				this._unknownFields.WriteTo(ref output);
			}
		}

		// Token: 0x06002B6E RID: 11118 RVA: 0x00077AF0 File Offset: 0x00075CF0
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public int CalculateSize()
		{
			int num = 0;
			if (this.data_ != null)
			{
				num += 1 + CodedOutputStream.ComputeMessageSize(this.Data);
			}
			if (this._unknownFields != null)
			{
				num += this._unknownFields.CalculateSize();
			}
			return num;
		}

		// Token: 0x06002B6F RID: 11119 RVA: 0x00077B30 File Offset: 0x00075D30
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(DifficultyAdjustmentUpdateDataCsReq other)
		{
			if (other == null)
			{
				return;
			}
			if (other.data_ != null)
			{
				if (this.data_ == null)
				{
					this.Data = new JLLIFGDBMIO();
				}
				this.Data.MergeFrom(other.Data);
			}
			this._unknownFields = UnknownFieldSet.MergeFrom(this._unknownFields, other._unknownFields);
		}

		// Token: 0x06002B70 RID: 11120 RVA: 0x00077B84 File Offset: 0x00075D84
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(CodedInputStream input)
		{
			input.ReadRawMessage(this);
		}

		// Token: 0x06002B71 RID: 11121 RVA: 0x00077B90 File Offset: 0x00075D90
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalMergeFrom(ref ParseContext input)
		{
			uint num;
			while ((num = input.ReadTag()) != 0U)
			{
				if (num != 106U)
				{
					this._unknownFields = UnknownFieldSet.MergeFieldFrom(this._unknownFields, ref input);
				}
				else
				{
					if (this.data_ == null)
					{
						this.Data = new JLLIFGDBMIO();
					}
					input.ReadMessage(this.Data);
				}
			}
		}

		// Token: 0x04001127 RID: 4391
		private static readonly MessageParser<DifficultyAdjustmentUpdateDataCsReq> _parser = new MessageParser<DifficultyAdjustmentUpdateDataCsReq>(() => new DifficultyAdjustmentUpdateDataCsReq());

		// Token: 0x04001128 RID: 4392
		private UnknownFieldSet _unknownFields;

		// Token: 0x04001129 RID: 4393
		public const int DataFieldNumber = 13;

		// Token: 0x0400112A RID: 4394
		private JLLIFGDBMIO data_;
	}
}
